package cn.skyui.animator.photo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import cn.skyui.animator.R;

public class SinglePhotoActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image);
        findViewById(R.id.imageView).setOnClickListener(v -> {
            supportFinishAfterTransition();
        });
    }

    @Override
    public void onBackPressed() {
        super.onBackPressed();
        supportFinishAfterTransition();
    }
}
